package cn.hd.authorService.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * created by dsl on 2022/8/8
 */
@Component
@ConfigurationProperties(prefix = "author.config")
@Data
public class BaseProperties {

    /**
     * 白名单配置
     */
    private List<String> whiteUrl = new ArrayList<>();


    private String resources;
}
